package com.baitai.system.domain;

import com.baitai.common.annotation.Excel;
import com.baitai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class IssueTaskFile extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 任务下发id */
    @Excel(name = "任务下发id")
    private Long issueTaskId;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String url;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIssueTaskId(Long issueTaskId)
    {
        this.issueTaskId = issueTaskId;
    }

    public Long getIssueTaskId()
    {
        return issueTaskId;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("issueTaskId", getIssueTaskId())
                .append("url", getUrl())
                .append("fileType", getFileType())
                .toString();
    }
}
